home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
util
/
cli
/
gengui21.lha
/
Gengui2.1
/
Examples
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-10-12
|
2KB
|
116 lines
GLIB=/Lib/gengui_lnk.o
GLIB_LOCALE=/Lib/gengui_lnk_locale.o
GenGui=/Bin/gengui
CFLAGS=IDIR /lib
all: glib mux border palette xarc plot subgui jumpwin frame steuer xarc_locale
glib:
execute <<
cd /Lib
smake
<
mux: mux.o $(GLIB)
sc mux.o $(GLIB) link to mux
mux.o: test.c mux.h
sc $(CFLAGS) objname mux.o test.c def TITLE="Multiplexdemo" def GUINAME="mux.h"
mux.h: mux.gui
$(GenGui) mux.gui
subgui: subgui.o $(GLIB)
sc subgui.o $(GLIB) link to subgui
subgui.o: test.c subgui.h
sc $(CFLAGS) objname subgui.o test.c def TITLE="Multiplexdemo" def GUINAME="subgui.h"
subgui.h: subgui.gui
$(GenGui) subgui.gui
frame: frame.o $(GLIB)
sc frame.o $(GLIB) link to frame
frame.o: test.c frame.h
sc $(CFLAGS) objname frame.o test.c def TITLE="Framedemo" def GUINAME="frame.h"
frame.h: frame.gui
$(GenGui) frame.gui
plot: plot.o $(GLIB)
sc plot.o $(GLIB) link to plot
plot.o: test.c plot.h
sc $(CFLAGS) objname plot.o test.c def TITLE="Plotdemo" def GUINAME="plot.h" def TestPro=Plot
plot.h: plot.gui
$(GenGui) plot.gui
border: border.o $(GLIB)
sc border.o $(GLIB) link to border
border.o: test.c border.h
sc $(CFLAGS) objname border.o test.c def TITLE="Customdemo" def GUINAME="border.h"
border.h: border.gui
$(GenGui) border.gui
palette: palette.o $(GLIB)
sc palette.o $(GLIB) link to palette
palette.o: palette.c palette.h
sc $(CFLAGS) objname palette.o palette.c
palette.h: palette.gui
$(GenGui) palette.gui
xarc_locale: xarc_locale.o $(GLIB_LOCALE)
sc xarc_locale.o $(GLIB_LOCALE) link to xarc_locale
xarc_locale.o: test_locale.c xarc.h
sc $(CFLAGS) objname xarc_locale.o test_locale.c def TITLE="XArcToolGUI" def GUINAME="xarc.h"
xarc: xarc.o $(GLIB)
sc xarc.o $(GLIB) link to xarc
xarc.o: test.c xarc.h
sc $(CFLAGS) objname xarc.o test.c def TITLE="XArcToolGUI" def GUINAME="xarc.h"
xarc.h: xarc.gui
$(GenGui) xarc.gui
steuer: steuer.o $(GLIB)
sc steuer.o $(GLIB) link to steuer
steuer.o: test.c steuer.h
sc $(CFLAGS) objname steuer.o test.c def TITLE="Steuer" def GUINAME="steuer.h"
steuer.h: steuer.gui
$(GenGui) steuer.gui
jumpwin: jumpwin.o $(GLIB)
sc jumpwin.o $(GLIB) link to jumpwin
jumpwin.o: jumpwin.c jumpwin.h
sc $(CFLAGS) objname jumpwin.o jumpwin.c
jumpwin.h: jumpwin.gui
$(GenGui) jumpwin.gui
clean:
execute <<
delete \#?.o
delete `list \#?.gui lformat "(%m.h)"`
set RC 0
<